package com.haifeng.questionbankcrud.pojo;

public class Teacher {

    private int t_id;
    private String T_name;
    private String password;

    public Teacher() {
    }

    public Teacher(int t_id, String t_name, String password) {
        this.t_id = t_id;
        T_name = t_name;
        this.password = password;
    }

    public int getT_id() {
        return t_id;
    }

    public void setT_id(int t_id) {
        this.t_id = t_id;
    }

    public String getT_name() {
        return T_name;
    }

    public void setT_name(String t_name) {
        T_name = t_name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "t_id=" + t_id +
                ", T_name='" + T_name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

}
